<?php
namespace app\index\validate;

use app\common\entity\UserInviteCode;
use app\index\model\SendCode;
use app\index\model\SendMail;
use think\Validate;

class ShopAddAddress extends Validate
{
    protected $rule = [
        'name' => 'require',
        'mobile' => 'require',
        'province' => 'require',
        'city' => 'require',
        'area' => 'require',
        'address' => 'require',
    ];

    protected $message = [
        'name.require' => '姓名不能为空',
        'mobile.require' => '手机号不能为空',
        'province.require' => '省不能为空',
        'city.require' => '市不能为空',
        'area.require' => '区不能为空',
        'address.require' => '详细地址不能为空',
    ];
}